from email.policy import default
from decouple import config

kkomia_mysql_learning = {
    'host': config('MYSQL_LEARNING_DB_HOST', default='127.0.0.1'),
    'port': config('MYSQL_LEARNING_DB_PORT', default=3306),
    'database': config('MYSQL_LEARNING_DB_DATABASE', default='sys'),
    'user': config('MYSQL_LEARNING_DB_USER', default='root'),
    'password': config('MYSQL_LEARNING_DB_PASSWORD', default='root'),
}

kkomia_family_db = {
    'host': config('MYSQL_FAMILY_DB_HOST', default='127.0.0.1'),
    'port': config('MYSQL_FAMILY_DB_PORT', default=3306),
    'database': config('MYSQL_FAMILY_DB_DATABASE', default='sys'),
    'user': config('MYSQL_FAMILY_DB_USER', default='root'),
    'password': config('MYSQL_FAMILY_DB_PASSWORD', default='root'),
}

kkomia_picture_db = {
    'host': config('MYSQL_PICTURE_DB_HOST', default='127.0.0.1'),
    'port': config('MYSQL_PICTURE_DB_PORT', default=3306),
    'database': config('MYSQL_PICTURE_DB_DATABASE', default='sys'),
    'user': config('MYSQL_PICTURE_DB_USER', default='root'),
    'password': config('MYSQL_PICTURE_DB_PASSWORD', default='root'),
}